<?php
/* Smarty version 3.1.30, created on 2017-07-10 15:13:33
  from "E:\pstudy02\pstudypro\WWW\Shortmessage\02_db\templates\regist.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_5963999d3e1731_21336714',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '68f6e2bbc465145568cbe466338d325c7ce62397' => 
    array (
      0 => 'E:\\pstudy02\\pstudypro\\WWW\\Shortmessage\\02_db\\templates\\regist.html',
      1 => 1499699607,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5963999d3e1731_21336714 (Smarty_Internal_Template $_smarty_tpl) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登录即可做任务</title>
    <link rel="stylesheet" type="text/css" href="public/css/index.css">
    <?php echo '<script'; ?>
 src="public/sweealert/sweetalert.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="public/js/jquery-1.8.0.js"><?php echo '</script'; ?>
>
    <link rel="stylesheet" href="public/sweealert/sweetalert.css">
</head>
<body>
<div class="zhe"><!--遮罩层-->
    <div class="warb"><!--外层-->
        <div class="top-bg">
            <form id="reformbg">
                <input class="textinput" type="text" name="username" placeholder="用户名(数字，字母，下划线)" id="reuser"/>
                <input class="textinput" type="password" name="password" placeholder="密码" id="repwd"/>
                <input class="textinput" type="password" placeholder="确认密码" id="repwdtoo"/>
                <a href="javascript:resub()" class="rebtn">注册</a>
                <a href="index.php" class="lo">登录</a>
            </form>
        </div>
    </div>
</div>
</body>
</html>
<?php echo '<script'; ?>
>
   function resub() {
       var reuser=$("#reuser").val();
       var repwd=$("#repwd").val();
       var repwdonce=$("#repwdtoo").val();
       if(reuser==""){
           swal("No", "请输入注册名!", "error");
       }else if(repwd==""){
           swal("No", "请输入密码!", "error");
       }else if(repwdonce==""){
           swal("No", "请再次输入密码!", "error");
       }else if(repwdonce!=repwd){
           swal("No", "密码不一致!", "error");
       }else{
         $.ajax();
       }
   }
<?php echo '</script'; ?>
>
<?php }
}
